package com.ylyq.ylxx.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName GetAudiencePackageRequest
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/7/20 10:59
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "获取定向包的请求参数")
public class GetAudiencePackageRequest {
    @ApiModelProperty(value = "广告主ID", required = true)
    private Long advertiser_id;

    private FilteringBean filtering;

    @NoArgsConstructor
    @Data
    @ApiModel(value = "获取定向包-过滤字段")
    public static class FilteringBean {
        @ApiModelProperty(value = "定向包类型【附录：定向包推广类型】")
        private String landing_type;
        @ApiModelProperty(value = "定向包类型【附录：广告投放范围】")
        private String delivery_range;
    }

    @ApiModelProperty(value = "页码 默认值:1")
    private Integer page;
    @ApiModelProperty(value = "页面数据量\n" +
            "    默认值: 10，取值范围1～100")
    private Integer page_size;

}
